package
{
	public class Utils
	{
		public static function convertSecondsToDegree(seconds:Number=0):Number
		{
			seconds=seconds%60;
			var deg:Number = seconds*6;
			return deg;
		}
		public static function convertMinutesToDegree(minutes:Number=0,seconds:Number=0):Number
		{
			minutes=minutes%60;
			seconds=seconds%60;
			var deg:Number = minutes*6+(seconds/10);
			return deg;
		}
		public static function convertHoursToDegree(hours:Number=0,minutes:Number=0,seconds:Number=0):Number
		{
			hours=hours%12;
			minutes=minutes%60;
			seconds=seconds%60;
			var deg:Number=(hours*30)+(minutes/2)+(seconds/10);
			return deg;
		}
	}
}